package com.yyxh.laiojbackend.model.dto.questionsubmit;

import com.yyxh.laiojbackend.common.PageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 创建请求
 *

 */
@ApiModel(value = "题目提交记录查询表单")
@Data
@EqualsAndHashCode(callSuper = true)
public class QuestionSubmitQueryRequest extends PageRequest implements Serializable {

    /**
     * 编程语言
     */
    @ApiModelProperty(value = "编程语言",dataType = "String",required = false,example = "Java")
    private String language;

    /**
     * 提交状态
     */
    @ApiModelProperty(value = "提交状态",dataType = "Integer",required = false,example = "全部/待判题/判题中/成功/失败(选其一)")
    private Integer status;

    /**
     * 题目id
     */
    @ApiModelProperty(value = "题目id",dataType = "Long",required = false,example = "1")
    private Long questionId;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id",dataType = "Long",required = false,example = "1")
    private Long userId;


    private static final long serialVersionUID = 1L;
}